#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include <QDialog>

namespace Ui {
class SettingsDialog;
}

class SettingsDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit SettingsDialog(QWidget *parent = 0);
    ~SettingsDialog();

    void setAutoFillDate(const bool autofill);
    void setAutoFillReceive(const bool autofill);
    void setAutoNAFilter(const bool autofilter);
    void setMaxNumOfRows(const int rows);
    void setDateFormat(const QString& format);
    int getMaxNumOfRows() const;
    bool getAutoFillDate() const;
    bool getAutoFillReceive() const;
    bool getAutoNAFilter() const;
    QString getDateFormat() const;
    
private slots:
    void on_database_toolButton_clicked();

    void on_date_format_lineEdit_textChanged(const QString &arg1);

    void on_date_format_pushButton_clicked();

private:
    Ui::SettingsDialog *ui;
};

#endif // SETTINGSDIALOG_H
